Rational function model